package com.itcncp.ucenter.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserCashinOpJnlExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public UserCashinOpJnlExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCashinNoIsNull() {
            addCriterion("cashin_no is null");
            return (Criteria) this;
        }

        public Criteria andCashinNoIsNotNull() {
            addCriterion("cashin_no is not null");
            return (Criteria) this;
        }

        public Criteria andCashinNoEqualTo(Long value) {
            addCriterion("cashin_no =", value, "cashinNo");
            return (Criteria) this;
        }

        public Criteria andCashinNoNotEqualTo(Long value) {
            addCriterion("cashin_no <>", value, "cashinNo");
            return (Criteria) this;
        }

        public Criteria andCashinNoGreaterThan(Long value) {
            addCriterion("cashin_no >", value, "cashinNo");
            return (Criteria) this;
        }

        public Criteria andCashinNoGreaterThanOrEqualTo(Long value) {
            addCriterion("cashin_no >=", value, "cashinNo");
            return (Criteria) this;
        }

        public Criteria andCashinNoLessThan(Long value) {
            addCriterion("cashin_no <", value, "cashinNo");
            return (Criteria) this;
        }

        public Criteria andCashinNoLessThanOrEqualTo(Long value) {
            addCriterion("cashin_no <=", value, "cashinNo");
            return (Criteria) this;
        }

        public Criteria andCashinNoIn(List<Long> values) {
            addCriterion("cashin_no in", values, "cashinNo");
            return (Criteria) this;
        }

        public Criteria andCashinNoNotIn(List<Long> values) {
            addCriterion("cashin_no not in", values, "cashinNo");
            return (Criteria) this;
        }

        public Criteria andCashinNoBetween(Long value1, Long value2) {
            addCriterion("cashin_no between", value1, value2, "cashinNo");
            return (Criteria) this;
        }

        public Criteria andCashinNoNotBetween(Long value1, Long value2) {
            addCriterion("cashin_no not between", value1, value2, "cashinNo");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andCashinAmountIsNull() {
            addCriterion("cashin_amount is null");
            return (Criteria) this;
        }

        public Criteria andCashinAmountIsNotNull() {
            addCriterion("cashin_amount is not null");
            return (Criteria) this;
        }

        public Criteria andCashinAmountEqualTo(BigDecimal value) {
            addCriterion("cashin_amount =", value, "cashinAmount");
            return (Criteria) this;
        }

        public Criteria andCashinAmountNotEqualTo(BigDecimal value) {
            addCriterion("cashin_amount <>", value, "cashinAmount");
            return (Criteria) this;
        }

        public Criteria andCashinAmountGreaterThan(BigDecimal value) {
            addCriterion("cashin_amount >", value, "cashinAmount");
            return (Criteria) this;
        }

        public Criteria andCashinAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("cashin_amount >=", value, "cashinAmount");
            return (Criteria) this;
        }

        public Criteria andCashinAmountLessThan(BigDecimal value) {
            addCriterion("cashin_amount <", value, "cashinAmount");
            return (Criteria) this;
        }

        public Criteria andCashinAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("cashin_amount <=", value, "cashinAmount");
            return (Criteria) this;
        }

        public Criteria andCashinAmountIn(List<BigDecimal> values) {
            addCriterion("cashin_amount in", values, "cashinAmount");
            return (Criteria) this;
        }

        public Criteria andCashinAmountNotIn(List<BigDecimal> values) {
            addCriterion("cashin_amount not in", values, "cashinAmount");
            return (Criteria) this;
        }

        public Criteria andCashinAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cashin_amount between", value1, value2, "cashinAmount");
            return (Criteria) this;
        }

        public Criteria andCashinAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cashin_amount not between", value1, value2, "cashinAmount");
            return (Criteria) this;
        }

        public Criteria andCashinFeeIsNull() {
            addCriterion("cashin_fee is null");
            return (Criteria) this;
        }

        public Criteria andCashinFeeIsNotNull() {
            addCriterion("cashin_fee is not null");
            return (Criteria) this;
        }

        public Criteria andCashinFeeEqualTo(BigDecimal value) {
            addCriterion("cashin_fee =", value, "cashinFee");
            return (Criteria) this;
        }

        public Criteria andCashinFeeNotEqualTo(BigDecimal value) {
            addCriterion("cashin_fee <>", value, "cashinFee");
            return (Criteria) this;
        }

        public Criteria andCashinFeeGreaterThan(BigDecimal value) {
            addCriterion("cashin_fee >", value, "cashinFee");
            return (Criteria) this;
        }

        public Criteria andCashinFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("cashin_fee >=", value, "cashinFee");
            return (Criteria) this;
        }

        public Criteria andCashinFeeLessThan(BigDecimal value) {
            addCriterion("cashin_fee <", value, "cashinFee");
            return (Criteria) this;
        }

        public Criteria andCashinFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("cashin_fee <=", value, "cashinFee");
            return (Criteria) this;
        }

        public Criteria andCashinFeeIn(List<BigDecimal> values) {
            addCriterion("cashin_fee in", values, "cashinFee");
            return (Criteria) this;
        }

        public Criteria andCashinFeeNotIn(List<BigDecimal> values) {
            addCriterion("cashin_fee not in", values, "cashinFee");
            return (Criteria) this;
        }

        public Criteria andCashinFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cashin_fee between", value1, value2, "cashinFee");
            return (Criteria) this;
        }

        public Criteria andCashinFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cashin_fee not between", value1, value2, "cashinFee");
            return (Criteria) this;
        }

        public Criteria andCashinActAmountIsNull() {
            addCriterion("cashin_act_amount is null");
            return (Criteria) this;
        }

        public Criteria andCashinActAmountIsNotNull() {
            addCriterion("cashin_act_amount is not null");
            return (Criteria) this;
        }

        public Criteria andCashinActAmountEqualTo(BigDecimal value) {
            addCriterion("cashin_act_amount =", value, "cashinActAmount");
            return (Criteria) this;
        }

        public Criteria andCashinActAmountNotEqualTo(BigDecimal value) {
            addCriterion("cashin_act_amount <>", value, "cashinActAmount");
            return (Criteria) this;
        }

        public Criteria andCashinActAmountGreaterThan(BigDecimal value) {
            addCriterion("cashin_act_amount >", value, "cashinActAmount");
            return (Criteria) this;
        }

        public Criteria andCashinActAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("cashin_act_amount >=", value, "cashinActAmount");
            return (Criteria) this;
        }

        public Criteria andCashinActAmountLessThan(BigDecimal value) {
            addCriterion("cashin_act_amount <", value, "cashinActAmount");
            return (Criteria) this;
        }

        public Criteria andCashinActAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("cashin_act_amount <=", value, "cashinActAmount");
            return (Criteria) this;
        }

        public Criteria andCashinActAmountIn(List<BigDecimal> values) {
            addCriterion("cashin_act_amount in", values, "cashinActAmount");
            return (Criteria) this;
        }

        public Criteria andCashinActAmountNotIn(List<BigDecimal> values) {
            addCriterion("cashin_act_amount not in", values, "cashinActAmount");
            return (Criteria) this;
        }

        public Criteria andCashinActAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cashin_act_amount between", value1, value2, "cashinActAmount");
            return (Criteria) this;
        }

        public Criteria andCashinActAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cashin_act_amount not between", value1, value2, "cashinActAmount");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoIsNull() {
            addCriterion("cashin_cardno is null");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoIsNotNull() {
            addCriterion("cashin_cardno is not null");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoEqualTo(String value) {
            addCriterion("cashin_cardno =", value, "cashinCardno");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoNotEqualTo(String value) {
            addCriterion("cashin_cardno <>", value, "cashinCardno");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoGreaterThan(String value) {
            addCriterion("cashin_cardno >", value, "cashinCardno");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoGreaterThanOrEqualTo(String value) {
            addCriterion("cashin_cardno >=", value, "cashinCardno");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoLessThan(String value) {
            addCriterion("cashin_cardno <", value, "cashinCardno");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoLessThanOrEqualTo(String value) {
            addCriterion("cashin_cardno <=", value, "cashinCardno");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoLike(String value) {
            addCriterion("cashin_cardno like", value, "cashinCardno");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoNotLike(String value) {
            addCriterion("cashin_cardno not like", value, "cashinCardno");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoIn(List<String> values) {
            addCriterion("cashin_cardno in", values, "cashinCardno");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoNotIn(List<String> values) {
            addCriterion("cashin_cardno not in", values, "cashinCardno");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoBetween(String value1, String value2) {
            addCriterion("cashin_cardno between", value1, value2, "cashinCardno");
            return (Criteria) this;
        }

        public Criteria andCashinCardnoNotBetween(String value1, String value2) {
            addCriterion("cashin_cardno not between", value1, value2, "cashinCardno");
            return (Criteria) this;
        }

        public Criteria andCashinTimeIsNull() {
            addCriterion("cashin_time is null");
            return (Criteria) this;
        }

        public Criteria andCashinTimeIsNotNull() {
            addCriterion("cashin_time is not null");
            return (Criteria) this;
        }

        public Criteria andCashinTimeEqualTo(Date value) {
            addCriterion("cashin_time =", value, "cashinTime");
            return (Criteria) this;
        }

        public Criteria andCashinTimeNotEqualTo(Date value) {
            addCriterion("cashin_time <>", value, "cashinTime");
            return (Criteria) this;
        }

        public Criteria andCashinTimeGreaterThan(Date value) {
            addCriterion("cashin_time >", value, "cashinTime");
            return (Criteria) this;
        }

        public Criteria andCashinTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("cashin_time >=", value, "cashinTime");
            return (Criteria) this;
        }

        public Criteria andCashinTimeLessThan(Date value) {
            addCriterion("cashin_time <", value, "cashinTime");
            return (Criteria) this;
        }

        public Criteria andCashinTimeLessThanOrEqualTo(Date value) {
            addCriterion("cashin_time <=", value, "cashinTime");
            return (Criteria) this;
        }

        public Criteria andCashinTimeIn(List<Date> values) {
            addCriterion("cashin_time in", values, "cashinTime");
            return (Criteria) this;
        }

        public Criteria andCashinTimeNotIn(List<Date> values) {
            addCriterion("cashin_time not in", values, "cashinTime");
            return (Criteria) this;
        }

        public Criteria andCashinTimeBetween(Date value1, Date value2) {
            addCriterion("cashin_time between", value1, value2, "cashinTime");
            return (Criteria) this;
        }

        public Criteria andCashinTimeNotBetween(Date value1, Date value2) {
            addCriterion("cashin_time not between", value1, value2, "cashinTime");
            return (Criteria) this;
        }

        public Criteria andOldBalanceIsNull() {
            addCriterion("old_balance is null");
            return (Criteria) this;
        }

        public Criteria andOldBalanceIsNotNull() {
            addCriterion("old_balance is not null");
            return (Criteria) this;
        }

        public Criteria andOldBalanceEqualTo(BigDecimal value) {
            addCriterion("old_balance =", value, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceNotEqualTo(BigDecimal value) {
            addCriterion("old_balance <>", value, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceGreaterThan(BigDecimal value) {
            addCriterion("old_balance >", value, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("old_balance >=", value, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceLessThan(BigDecimal value) {
            addCriterion("old_balance <", value, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("old_balance <=", value, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceIn(List<BigDecimal> values) {
            addCriterion("old_balance in", values, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceNotIn(List<BigDecimal> values) {
            addCriterion("old_balance not in", values, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("old_balance between", value1, value2, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andOldBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("old_balance not between", value1, value2, "oldBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceIsNull() {
            addCriterion("now_balance is null");
            return (Criteria) this;
        }

        public Criteria andNowBalanceIsNotNull() {
            addCriterion("now_balance is not null");
            return (Criteria) this;
        }

        public Criteria andNowBalanceEqualTo(BigDecimal value) {
            addCriterion("now_balance =", value, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceNotEqualTo(BigDecimal value) {
            addCriterion("now_balance <>", value, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceGreaterThan(BigDecimal value) {
            addCriterion("now_balance >", value, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("now_balance >=", value, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceLessThan(BigDecimal value) {
            addCriterion("now_balance <", value, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("now_balance <=", value, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceIn(List<BigDecimal> values) {
            addCriterion("now_balance in", values, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceNotIn(List<BigDecimal> values) {
            addCriterion("now_balance not in", values, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("now_balance between", value1, value2, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andNowBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("now_balance not between", value1, value2, "nowBalance");
            return (Criteria) this;
        }

        public Criteria andCashinStateIsNull() {
            addCriterion("cashin_state is null");
            return (Criteria) this;
        }

        public Criteria andCashinStateIsNotNull() {
            addCriterion("cashin_state is not null");
            return (Criteria) this;
        }

        public Criteria andCashinStateEqualTo(Byte value) {
            addCriterion("cashin_state =", value, "cashinState");
            return (Criteria) this;
        }

        public Criteria andCashinStateNotEqualTo(Byte value) {
            addCriterion("cashin_state <>", value, "cashinState");
            return (Criteria) this;
        }

        public Criteria andCashinStateGreaterThan(Byte value) {
            addCriterion("cashin_state >", value, "cashinState");
            return (Criteria) this;
        }

        public Criteria andCashinStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("cashin_state >=", value, "cashinState");
            return (Criteria) this;
        }

        public Criteria andCashinStateLessThan(Byte value) {
            addCriterion("cashin_state <", value, "cashinState");
            return (Criteria) this;
        }

        public Criteria andCashinStateLessThanOrEqualTo(Byte value) {
            addCriterion("cashin_state <=", value, "cashinState");
            return (Criteria) this;
        }

        public Criteria andCashinStateIn(List<Byte> values) {
            addCriterion("cashin_state in", values, "cashinState");
            return (Criteria) this;
        }

        public Criteria andCashinStateNotIn(List<Byte> values) {
            addCriterion("cashin_state not in", values, "cashinState");
            return (Criteria) this;
        }

        public Criteria andCashinStateBetween(Byte value1, Byte value2) {
            addCriterion("cashin_state between", value1, value2, "cashinState");
            return (Criteria) this;
        }

        public Criteria andCashinStateNotBetween(Byte value1, Byte value2) {
            addCriterion("cashin_state not between", value1, value2, "cashinState");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}